package com.weixing.mall.provider.model.dto.sys;

import com.weixing.mall.base.enums.IsEnableEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 启用禁用
 *
 * @author  wx
 * @date  2019/8/23 9:21
 * @since  1.0
 */
@Data
public class SysConfigChgEnableDto {
    /**
     * id
     */
    @NotNull(message = "Id 不能为空")
    private Long id;
    /**
     * 启用/禁用
     */
    @ApiModelProperty(value = "")
    @NotNull(message = "请输入正确的状态")
    private IsEnableEnum isEnableEnum;
}
